MATRIX POSITION X

This command will return the X position of the specified matrix in 3D space.

  Syntax
Return Float=MATRIX POSITION X(Matrix Number)
  Parameters
Matrix Number
Integer
The matrix number

  Returns

This command will return the X position of the specified matrix in 3D space

  Description

The matrix number should be an integer value.

  Example Code
make matrix 1,1000,1000,25,25
position matrix 1,50,0,100
update matrix 1
print "matrix position x ",matrix position x(1)
print "matrix position y ",matrix position y(1)
print "matrix position z ",matrix position z(1)
do
loop
if matrix exist(1)=1 then delete matrix 1
end
  See also

MATRIX Commands Menu
Index